<template>
    <div class="box">
        <div class="header">

            <van-search v-model="value" show-action placeholder="请输入搜索关键词" @search="onSearch"
                style="position: fixed; width: 100%; color: black; " @click="$router.push('/search')">
                <template #action>
                    <van-icon name="list-switching" style="font-size: 15px" />
                </template>
            </van-search>


        </div>
        <div class="meddle">
            <van-swipe :autoplay="3000" lazy-render>
                <van-swipe-item v-for="image in images" :key="image">
                    <img :src="image" style="width: 100%;" />
                </van-swipe-item>
            </van-swipe>
        </div>
    </div>
    <lise />
</template>
<script setup>
import lise from "./computer/lise";
const images = [
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-1.jpeg',
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-2.jpeg',
];
</script>
